{
    "pre" : {
        "git-branch" : "aur-support"
    },
    "args" : {
        "password" : "<STDIN>",
        "_keyboard_layout" : "sv-latin1",
        "_editor" : "nano",
        "_mediaplayer" : "lollypop gstreamer gst-plugins-good gnome-keyring",
        "_filebrowser" : "nemo gpicview-gtk3",
        "_webbrowser" : "chromium",
        "_code_editor" : "sublime-text-dev",
        "_window_manager" : "awesome",
        "_window_manager_dependencies" : "xorg-server xorg-xrandr xorg-xinit xterm",
        "_window_manager_utilities" : "feh slock xscreensaver terminus-font-otb gnu-free-fonts ttf-liberation xsel",
        "_virtulization" : "qemu ovmf",
        "_utils" : "openssh sshfs git htop pkgfile scrot dhclient wget smbclient cifs-utils libu2f-host",
        "_audio" : "pulseaudio pulseaudio-alsa pavucontrol",
        "post" : "don't reboot"
    },
    "post" : {
        "Install workstation packages": {
            "pacman -Syy --noconfirm {_webbrowser} {_utils} {_mediaplayer} {_window_manager} {_window_manager_dependencies} {_window_manager_utilities} {_virtulization} {_filebrowser} {_editor}" : {"pass-args" : true}
        },
        "Install aur packages" : {
            "yay -Syy --noconfirm {_code_editor}" : {"pass-args" : true, "runas" : "aibuilder"}
        },
        "Setup virtulization" : {
            "sh -c \"Description=\\\"Bridge for virtual machines\\\"\nInterface=br0\nConnection=bridge\nBindsToInterfaces=(eno1)\nIP=no\nExecUpPost=\\\"ip link set dev br0 address $(cat /sys/class/net/eno1/address); IP=dhcp; ip_set\\\"\nExecDownPre=\\\"IP=dhcp\\\"\n\n## Ignore (R)STP and immediately activate the bridge\nSkipForwardingDelay=yes\"" : null
        },
        "Setup loclization" : {
            "sh -c \"echo 'setxkbmap se' >> /etc/X11/xinit/xinitrc\"" : null,
            "sh -c \"echo 'KEYMAP={_keyboard_layout}\nFONT=lat9w-16' >> /etc/vconsole.conf\"" : {"pass-args" : true}
        },
        "Configure desktop environment" : "awesome"
    }
}
